/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.vsu.cs.piit.vokod.reports;

import java.util.Map;

/**
 *
 * @author Гплина
 */
public class ReportParam {
    String name;
    String title;
    Map<String, String> values;

    public ReportParam(String name, String title, Map<String, String> values) {
        this.name = name;
        this.title = title;
        this.values = values;
    }

    public String getTitle() {
        return title;
    }

    public String getName() {
        return name;
    }

    public String getValue(String valueTitle) {
        return values.get(valueTitle);
    }

    public Object[] getValuesArray(){
        return values.keySet().toArray();
    }
}
